<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>CryptHelperQt: CryptoLib Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">CryptHelperQt
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Suchen');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Hauptseite</span></a></li>
      <li><a href="namespaces.html"><span>Namensbereiche</span></a></li>
      <li class="current"><a href="annotated.html"><span>Klassen</span></a></li>
      <li><a href="files.html"><span>Dateien</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Suchen" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Auflistung&#160;der&#160;Klassen</span></a></li>
      <li><a href="classes.html"><span>Klassen-Verzeichnis</span></a></li>
      <li><a href="inherits.html"><span>Klassenhierarchie</span></a></li>
      <li><a href="functions.html"><span>Klassen-Elemente</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classCryptoLib.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Alle</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Klassen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namensbereiche</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Dateien</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Funktionen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variablen</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Makrodefinitionen</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Öffentliche Methoden</a> &#124;
<a href="classCryptoLib-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">CryptoLib Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Stellt die Funktionen zur Verschlüsselung bereit.  
 <a href="classCryptoLib.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="cryptolib_8h_source.html">cryptolib.h</a>&gt;</code></p>
<div class="dynheader">
Klassendiagramm für CryptoLib:</div>
<div class="dyncontent">
<div class="center"><img src="classCryptoLib__inherit__graph.png" border="0" usemap="#CryptoLib_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">Legende</a>]</span></center></div>
<div class="dynheader">
Zusammengehörigkeiten von CryptoLib:</div>
<div class="dyncontent">
<div class="center"><img src="classCryptoLib__coll__graph.png" border="0" usemap="#CryptoLib_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">Legende</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Öffentliche Methoden</h2></td></tr>
<tr class="memitem:a9a768b035de8adf42d1a2858847eb04d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCryptoLib.html#a9a768b035de8adf42d1a2858847eb04d">CryptoLib</a> (int MOD, int ADD, int crypttype)</td></tr>
<tr class="memdesc:a9a768b035de8adf42d1a2858847eb04d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Der Konstruktor zu <a class="el" href="classCryptoLib.html" title="Stellt die Funktionen zur Verschlüsselung bereit.">CryptoLib</a>.  <a href="#a9a768b035de8adf42d1a2858847eb04d">Mehr ...</a><br/></td></tr>
<tr class="separator:a9a768b035de8adf42d1a2858847eb04d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e545f7126e200633990dcacbc423540"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCryptoLib.html#a8e545f7126e200633990dcacbc423540">easy_crypt</a> (int MODE, string text)</td></tr>
<tr class="separator:a8e545f7126e200633990dcacbc423540"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bfee42d7f568602f341623352b6b135"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCryptoLib.html#a0bfee42d7f568602f341623352b6b135">ByteXOR</a> (QByteArray inputfile, QByteArray key)</td></tr>
<tr class="separator:a0bfee42d7f568602f341623352b6b135"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Stellt die Funktionen zur Verschlüsselung bereit. </p>
<p>Diese Klasse stellt die Funktionen aller Verschlüsselungsmodi zur Verfügung. </p>

<p>Definiert in Zeile <a class="el" href="cryptolib_8h_source.html#l00021">21</a> der Datei <a class="el" href="cryptolib_8h_source.html">cryptolib.h</a>.</p>
</div><h2 class="groupheader">Beschreibung der Konstruktoren und Destruktoren</h2>
<a class="anchor" id="a9a768b035de8adf42d1a2858847eb04d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CryptoLib::CryptoLib </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>MOD</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ADD</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>crypttype</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Der Konstruktor zu <a class="el" href="classCryptoLib.html" title="Stellt die Funktionen zur Verschlüsselung bereit.">CryptoLib</a>. </p>
<dl class="params"><dt>Parameter</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">MOD</td><td>Die Anzahl der möglichen Buchstaben im Alphabet (26). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ADD</td><td>Die Anzahl der Verschiebung im Alphabet. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">crypttype</td><td>Die Verschlüsselungsmethode.</td></tr>
  </table>
  </dd>
</dl>
<p>Initialisiert Variablen </p>

<p>Definiert in Zeile <a class="el" href="cryptolib_8cpp_source.html#l00012">12</a> der Datei <a class="el" href="cryptolib_8cpp_source.html">cryptolib.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a class="anchor" id="a0bfee42d7f568602f341623352b6b135"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray CryptoLib::ByteXOR </td>
          <td>(</td>
          <td class="paramtype">QByteArray&#160;</td>
          <td class="paramname"><em>inputfile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QByteArray&#160;</td>
          <td class="paramname"><em>key</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Verschlüsselt jedes Byte in dem XOR aus beiden Dateien gebildet wird. Sollte der Schlüssel zu kurz sein, wird er passend verlängert, ist er zu lang wird er abgeschnitten. </p>
<dl class="params"><dt>Parameter</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">inputfile</td><td>Der Inhalt der Datei die ver- oder entschlüsselt werden soll. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">key</td><td>Der Schlüssel mit der ver- oder entschlüsselt werden soll. </td></tr>
  </table>
  </dd>
</dl>

<p>Definiert in Zeile <a class="el" href="cryptolib_8cpp_source.html#l00052">52</a> der Datei <a class="el" href="cryptolib_8cpp_source.html">cryptolib.cpp</a>.</p>

<p><div class="dynheader">
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:</div>
<div class="dyncontent">
<div class="center"><img src="classCryptoLib_a0bfee42d7f568602f341623352b6b135_icgraph.png" border="0" usemap="#classCryptoLib_a0bfee42d7f568602f341623352b6b135_icgraph" alt=""/></div>
<map name="classCryptoLib_a0bfee42d7f568602f341623352b6b135_icgraph" id="classCryptoLib_a0bfee42d7f568602f341623352b6b135_icgraph">
<area shape="rect" id="node2" href="classWidget.html#a02f176d6b25d51256f64f284f799c3b7" title="Widget::ENCRbinPKey" alt="" coords="193,5,349,32"/><area shape="rect" id="node3" href="classWidget.html#ad6cdcf18146bcf760f08cbcdd2797084" title="Widget::ENCRstartEncrypt" alt="" coords="397,5,576,32"/><area shape="rect" id="node4" href="classWidget.html#a29531c7f141e461322981b3b579d4590" title="Der Konstruktor zu Widget." alt="" coords="851,5,963,32"/><area shape="rect" id="node5" href="classWidget.html#a0ea9601d232d8bdf068f48b68d8c7c89" title="Widget::ENCRstartDecrypt" alt="" coords="624,31,803,57"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a8e545f7126e200633990dcacbc423540"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CryptoLib::easy_crypt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>MODE</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>text</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Verschlüsselt Ceasar </p>
<dl class="params"><dt>Parameter</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">MODE</td><td>Hier wird eingestellt ob ver- oder entschlüsselt wird. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">text</td><td>Der zu ver- oder entschlüsselnde Text. </td></tr>
  </table>
  </dd>
</dl>

<p>Definiert in Zeile <a class="el" href="cryptolib_8cpp_source.html#l00027">27</a> der Datei <a class="el" href="cryptolib_8cpp_source.html">cryptolib.cpp</a>.</p>

</div>
</div>
<hr/>Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien:<ul>
<li><a class="el" href="cryptolib_8h_source.html">cryptolib.h</a></li>
<li><a class="el" href="cryptolib_8cpp_source.html">cryptolib.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classCryptoLib.html">CryptoLib</a></li>
    <li class="footer">Erzeugt am Fre Mai 10 2013 08:32:45 für CryptHelperQt von
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
  </ul>
</div>
</body>
</html>
